package com.azusa.ktc_search.service;


import com.azusa.ktc_search.entity.Article;
import org.springframework.data.domain.Page;
import service.BaseService;

import java.util.List;
import java.util.Map;

/**
 * @Description 文章 服务层接口
 * @author Azusa
 * @date 2020-10-12 18:16:12
*/
public interface ArticleService  extends BaseService<Article,String> {

    void add(Article article);

    Page<Article> search(String keywords, int page, int size);
}
